package com.hucc.api.domain.res;

import com.hucc.api.domain.entity.Project;
import lombok.Data;

@Data
public class ProjectRes {
    Long id;

    String name;

    String desc;

    public static ProjectRes build(Project project) {
        ProjectRes projectRes = new ProjectRes();
        projectRes.setId(projectRes.getId());
        projectRes.setName(projectRes.getName());
        projectRes.setDesc(projectRes.getDesc());
        return  projectRes;
    }
}
